/*
 * @Author: youzi 17639310612@163.com
 * @Date: 2025-02-14 16:49:08
 * @LastEditors: youzi 17639310612@163.com
 * @LastEditTime: 2025-03-03 03:39:42
 * @FilePath: \tiktok直播中控平台\src\main.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import { createPinia } from 'pinia';
import { createApp } from 'vue';
import App from './App.vue';
import router from './router/index';
import store from './store';
import './style.css';
import * as ElementPlusIconsVue from '@element-plus/icons-vue';

const app = createApp(App);

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
	app.component(key, component);
}

app.use(store);
app.use(ElementPlus, { size: 'small', zIndex: 3000 });
app.use(createPinia());
app.use(router);
app.mount('#app');
